<?php
/**
 * sitefront/front-framework/test_options.php
 * (c) 2010-2013 Stephen Adkins <spadkins@gmail.com>
 * This software began development in 2010.
 * It is based on code dating from 1999.
 *
 * License: GPL 2.0
 * The contents of this file may be used under the terms of
 * the GNU General Public License Version 2 or later (the "GPL").
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 * */
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>Test Request</title>
</head>
<body>
<h1>Request / Cookie / Server variables</h1>
<pre>
<?php
    printf("%-40s\n", "========================================");
    printf("%s\n", '$_REQUEST');
    printf("%-40s\n", "========================================");
    foreach ($_REQUEST as $key => $value) {
        printf("%-40s = [%s]\n", $key, $value);
    }
    printf("%-40s\n", "========================================");
    printf("%s\n", '$_COOKIE');
    printf("%-40s\n", "========================================");
    foreach ($_COOKIE as $key => $value) {
        printf("%-40s = [%s]\n", $key, $value);
    }
    printf("%-40s\n", "========================================");
    printf("%s\n", '$_SERVER');
    printf("%-40s\n", "========================================");
    foreach ($_SERVER as $key => $value) {
        printf("%-40s = [%s]\n", $key, $value);
    }
?>
<a href="test_request.php">test_request.php</a>
</pre>

</body>
</html>
